package com.ruoyi.youtian.service;



import com.ruoyi.youtian.domain.EquipmentCategory;

import java.util.List;

/**
 * 设备分类Service接口
 *
 * @author ruoyi
 * @date 2022-09-07
 */
public interface IEquipmentCategoryService
{
    /**
     * 查询设备分类
     *
     * @param equipmentCategoryId 设备分类主键
     * @return 设备分类
     */
    public EquipmentCategory selectEquipmentCategoryByEquipmentCategoryId(Long equipmentCategoryId);

    /**
     * 查询设备分类列表
     *
     * @param equipmentCategory 设备分类
     * @return 设备分类集合
     */
    public List<EquipmentCategory> selectEquipmentCategoryList(EquipmentCategory equipmentCategory);

    /**
     * 新增设备分类
     *
     * @param equipmentCategory 设备分类
     * @return 结果
     */
    public int insertEquipmentCategory(EquipmentCategory equipmentCategory);

    /**
     * 修改设备分类
     *
     * @param equipmentCategory 设备分类
     * @return 结果
     */
    public int updateEquipmentCategory(EquipmentCategory equipmentCategory);

    /**
     * 批量删除设备分类
     *
     * @param equipmentCategoryIds 需要删除的设备分类主键集合
     * @return 结果
     */
    public int deleteEquipmentCategoryByEquipmentCategoryIds(Long[] equipmentCategoryIds);

    /**
     * 删除设备分类信息
     *
     * @param equipmentCategoryId 设备分类主键
     * @return 结果
     */
    public int deleteEquipmentCategoryByEquipmentCategoryId(Long equipmentCategoryId);
}
